#region Imports

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using MetaSapiens.PageMethods;

#endregion Imports

/// <summary>
/// Page that displays a customer.
/// </summary>
public partial class FrmCustomer : System.Web.UI.Page
{
  protected void Page_Load(object sender, EventArgs e)
  {
    MetaSapiens.PageMethods.PageMethodsEngine.InvokeMethod(this, true);
  }

  /// <summary>
  /// Displays a customer.
  /// </summary>
  /// <param name="customerID">The ID of the customer</param>
  [PageMethod(true)]
  public void DisplayCustomer([ParamFormat("0000"), ParamName("CustID")] int customerID)
  {
    Response.Write("DisplayCustomer(" + customerID + ")");
  }
}
